The Discord template editor in Siren allows you to create and manage messages for sending to Discord channels or users. You can customize your message with text, variables, and file attachments.

Message Content

1

Compose Message

Enter your message content in the ‘Message Content’ field. This is the main text that will be sent to the Discord channel or user.
2

Add Variables

Use the ’+ Insert Variable’ button to add dynamic content to your message. Variables will be replaced with actual values when the message is sent.

Adding Attachments

Click the ’+ Add Attachments’ button to include files with your message. For each attachment, you’ll need to provide:
  1. File Name/Placeholder: The name of the file or a placeholder
  2. Type: Select the file type from the dropdown (PDF, JPEG, DOCX, or CSV)
  3. Content: The file content as a base64-encoded variable
The file content must be a variable containing a base64-encoded value of the file.

Variable Format

Use the following format for variables in your message:
${workflow.input.data.variable_name}